package com.sl.biz.modular.process.service;


import com.sl.biz.modular.process.controller.request.ProcessCompVersionRebuildRequest;
import com.sl.biz.modular.process.controller.request.ProcessCompVersionSaveRequest;
import com.sl.biz.modular.process.dao.domain.dto.ProcessCompVersionDTO;
import com.sl.biz.modular.process.dao.domain.entity.ProcessCompDO;
import com.sl.biz.modular.process.dao.domain.entity.ProcessCompObjectDO;
import com.sl.biz.modular.process.dao.domain.entity.ProcessCompVersionDO;

import java.util.List;

public interface ProcessCompVersionBizService {

    List<ProcessCompVersionDTO> list(ProcessCompVersionDO processCompVersionDO);

    Boolean save(ProcessCompVersionSaveRequest processComp);

    Boolean setStatusFlag(ProcessCompVersionDO assertUserUse);

    ProcessCompVersionDTO getById(ProcessCompVersionDO addRequest);


    Boolean rebuild(ProcessCompVersionRebuildRequest processComp);

    Boolean removeById(ProcessCompVersionDO assertUserUse);
}
